<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Secretarias extends CI_Controller {
	function __construct() {
		parent::__construct();
		if(!$this->session->userdata('grambel')){
			$this->session->sess_destroy();
			redirect('login', 'refresh');
		}
	}

	public function index()
	{
		$this->load->view('inicio');
	}
	
}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */